package com.consumer1.entity;


import com.consumer1.enums.SupportImportMovieEnum;

import java.io.Serializable;

/**
 * @version v1.0
 * @author: TianXiang
 * @description:
 * @date: 2020/11/22
 */
public class ImportMovie extends MovieAttr implements Serializable {

    /**
     * 支持导入视频格式, 参考枚举
     */
    private String supportFlag = SupportImportMovieEnum.UPLOAD.getCode();

    /**
     * 下载外网视频的访问地址
     */
    private String downloadFromUrl;

    private String uuidDirPath;

    private String movieFilePath;

    /**
     * 转码器路径
     */
    private String ffmpegExePath;

    public String getFfmpegExePath() {
        return ffmpegExePath;
    }

    public ImportMovie setFfmpegExePath(String ffmpegExePath) {
        this.ffmpegExePath = ffmpegExePath;
        return this;
    }

    public String getUuidDirPath() {
        return uuidDirPath;
    }

    public ImportMovie setUuidDirPath(String uuidDirPath) {
        this.uuidDirPath = uuidDirPath;
        return this;
    }

    public String getMovieFilePath() {
        return movieFilePath;
    }

    public ImportMovie setMovieFilePath(String movieFilePath) {
        this.movieFilePath = movieFilePath;
        return this;
    }

    public String getSupportFlag() {
        return supportFlag;
    }

    public ImportMovie setSupportFlag(String supportFlag) {
        this.supportFlag = supportFlag;
        return this;
    }

    public String getDownloadFromUrl() {
        return downloadFromUrl;
    }

    public ImportMovie setDownloadFromUrl(String downloadFromUrl) {
        this.downloadFromUrl = downloadFromUrl;
        return this;
    }

    @Override
    public String toString() {
        return "ImportMovie{" +
                "supportFlag='" + supportFlag + '\'' +
                ", downloadFromUrl='" + downloadFromUrl + '\'' +
                ", uuidDirPath='" + uuidDirPath + '\'' +
                ", movieFilePath='" + movieFilePath + '\'' +
                ", ffmpegExePath='" + ffmpegExePath + '\'' +
                '}';
    }
}
